package com.yundasys.lab04springbootlocalmsg.service;

import com.yundasys.lab04springbootlocalmsg.dao.AccountADao;
import com.yundasys.lab04springbootlocalmsg.entity.PaymentMsg;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;

/**
 *
 * @author makejava
 * @since 2021-01-13 22:46:04
 */
public interface PaymentService {

    int payment(int userId, int orderId, BigDecimal amount);

    int paymentMQ(int userId, int orderId, BigDecimal amount) throws Exception;

}